package org.jsola.hr.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.dto.BaseDTO;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 费用账单确认
 *
 * @author wcl
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【确认账单】的参数")
@Data
public class CostBillConfirmDTO extends BaseDTO {

    @ApiModelProperty(value = "账单Id")
    @NotNull(message = "账单Id不能为空")
    private Long costBillId;

    @ApiModelProperty(value = "确认金额")
    @NotNull(message = "确认金额不能为空")
    private BigDecimal finalAmount;

}
